package org.melanesia.sql;

import org.melanesia.converters.JavaToJavaConverter;

public class OutputParameter {
    
    private String name;
    private Class<?> parameterClass;
    private JavaToJavaConverter converter;
    
    public OutputParameter(String name, Class<?> parameterClass) {
        this(name, parameterClass, null);
    }
    
    public OutputParameter(String name, Class<?> parameterClass, JavaToJavaConverter converter) {
        this.name = name;
        this.parameterClass = parameterClass;
        this.converter = converter;
    }
    
    public String getName() {
        return name;
    }
    public Class<?> getParameterClass() {
        return parameterClass;
    }
    public JavaToJavaConverter getConverter() {
        return converter;
    }
}
